﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;

namespace CPPEI.Coolzon.UI.DataPartLib
{
    public partial class DataTextAnimationLabel2
    {
        private string _XAnimationDirection;
        [Category("其他")]
        [DisplayName("动画出现方向up,left,right,down")]
        [Description("XAnimationDirection")]
        [Editor(typeof(UI.XProperty.Editors.XStringEditor), typeof(UI.XProperty.XPropertyValueEditor))]
        [XProperty(XPropertyCategory.Other, "XAnimationDirection", "动画出现方向up,left,right,down")]
        public string XAnimationDirection
        {
            get { return _XAnimationDirection; }
            set
            {
                _XAnimationDirection = value;
                Refresh();
            }
        }

        private string _XText;
        [Category("其他")]
        [DisplayName("显示文本")]
        [Description("XText")]
        [Editor(typeof(UI.XProperty.Editors.XStringEditor), typeof(UI.XProperty.XPropertyValueEditor))]
        [XProperty(XPropertyCategory.Other, "XText", "显示文本")]
        public string XText
        {
            get
            {
                return _XText;
            }
            set
            {
                _XText = value;
                ApplyXProperty();
            }
        }
    }
}
